home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / ctgsx145.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  28.0 KB  |  997 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CTGSX145.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Citizen GSX-145"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "ct24res.dll"
  12. *PrintRate: 192
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *Feature: Orientation
  16. {
  17.     *rcNameID: =ORIENTATION_DISPLAY
  18.     *DefaultOption: PORTRAIT
  19.     *Option: PORTRAIT
  20.     {
  21.         *rcNameID: =PORTRAIT_DISPLAY
  22.     }
  23.     *Option: LANDSCAPE_CC270
  24.     {
  25.         *rcNameID: =LANDSCAPE_DISPLAY
  26.     }
  27. }
  28. *Feature: InputBin
  29. {
  30.     *rcNameID: =PAPER_SOURCE_DISPLAY
  31.     *DefaultOption: TRACTOR
  32.     *Option: TRACTOR
  33.     {
  34.         *rcNameID: =TRACTOR_DISPLAY
  35.         *Command: CmdSelect
  36.         {
  37.             *Order: DOC_SETUP.7
  38.             *Cmd: "<1B1900>"
  39.         }
  40.     }
  41.     *Option: AUTO
  42.     {
  43.         *rcNameID: =AUTO_DISPLAY
  44.         *Command: CmdSelect
  45.         {
  46.             *Order: DOC_SETUP.7
  47.             *Cmd: "<1B1904>"
  48.         }
  49.     }
  50.     *Option: MANUAL
  51.     {
  52.         *rcNameID: =MANUAL_FEED_DISPLAY
  53.         *Command: CmdSelect
  54.         {
  55.             *Order: DOC_SETUP.7
  56.             *Cmd: "<1B1900>"
  57.         }
  58.     }
  59.     *Option: ENVFEED
  60.     {
  61.         *rcNameID: =ENV_FEED_DISPLAY
  62.         *Command: CmdSelect
  63.         {
  64.             *Order: DOC_SETUP.7
  65.             *Cmd: "<1B1900>"
  66.         }
  67.     }
  68. }
  69. *Feature: Resolution
  70. {
  71.     *rcNameID: =RESOLUTION_DISPLAY
  72.     *DefaultOption: Option1
  73.     *Option: Option1
  74.     {
  75.         *Name: "180 x 180 " =DOTS_PER_INCH
  76.         *DPI: PAIR(180, 180)
  77.         *TextDPI: PAIR(180, 180)
  78.         *PinsPerLogPass: 24
  79.         *PinsPerPhysPass: 24
  80.         *MinStripBlankPixels: 135
  81.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  82.         *SpotDiameter: 140
  83.         *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  84.     }
  85.     *Option: Option2
  86.     {
  87.         *Name: "360 x 360 " =DOTS_PER_INCH
  88.         *DPI: PAIR(360, 360)
  89.         *TextDPI: PAIR(360, 360)
  90.         *PinsPerLogPass: 48
  91.         *PinsPerPhysPass: 24
  92.         *MinStripBlankPixels: 270
  93.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  94.         *SpotDiameter: 283
  95.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  96.     }
  97.     *Option: Option3
  98.     {
  99.         *Name: "360 x 180 " =DOTS_PER_INCH
  100.         *DPI: PAIR(360, 180)
  101.         *TextDPI: PAIR(360, 180)
  102.         *PinsPerLogPass: 24
  103.         *PinsPerPhysPass: 24
  104.         *MinStripBlankPixels: 270
  105.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  106.         *SpotDiameter: 200
  107.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  108.     }
  109.     *Option: Option4
  110.     {
  111.         *Name: "120 x 180 " =DOTS_PER_INCH
  112.         *DPI: PAIR(120, 180)
  113.         *TextDPI: PAIR(120, 180)
  114.         *PinsPerLogPass: 24
  115.         *PinsPerPhysPass: 24
  116.         *MinStripBlankPixels: 90
  117.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  118.         *SpotDiameter: 115
  119.         *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  120.     }
  121. }
  122. *Feature: PaperSize
  123. {
  124.     *rcNameID: =PAPER_SIZE_DISPLAY
  125.     *DefaultOption: LETTER
  126.     *Option: LETTER
  127.     {
  128.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  129.         *CursorOrigin: PAIR(0, 270)
  130.         *Command: CmdSelect
  131.         {
  132.             *Order: DOC_SETUP.8
  133.             *Cmd: "<1B>C<000B>"
  134.         }
  135.         *switch: InputBin
  136.         {
  137.             *case: TRACTOR
  138.             {
  139.                 *PrintableArea: PAIR(3060, 3690)
  140.                 *PrintableOrigin: PAIR(0, 270)
  141.             }
  142.             *case: AUTO
  143.             {
  144.                 *PrintableArea: PAIR(3060, 3600)
  145.                 *PrintableOrigin: PAIR(0, 360)
  146.             }
  147.             *case: MANUAL
  148.             {
  149.                 *PrintableArea: PAIR(3060, 3578)
  150.                 *PrintableOrigin: PAIR(0, 292)
  151.             }
  152.             *case: ENVFEED
  153.             {
  154.                 *PrintableArea: PAIR(3060, 3690)
  155.                 *PrintableOrigin: PAIR(0, 270)
  156.             }
  157.         }
  158.     }
  159.     *Option: LEGAL
  160.     {
  161.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  162.         *CursorOrigin: PAIR(0, 270)
  163.         *Command: CmdSelect
  164.         {
  165.             *Order: DOC_SETUP.8
  166.             *Cmd: "<1B>C<000E>"
  167.         }
  168.         *switch: InputBin
  169.         {
  170.             *case: TRACTOR
  171.             {
  172.                 *PrintableArea: PAIR(3060, 4770)
  173.                 *PrintableOrigin: PAIR(0, 270)
  174.             }
  175.             *case: AUTO
  176.             {
  177.                 *PrintableArea: PAIR(3060, 4680)
  178.                 *PrintableOrigin: PAIR(0, 360)
  179.             }
  180.             *case: MANUAL
  181.             {
  182.                 *PrintableArea: PAIR(3060, 4658)
  183.                 *PrintableOrigin: PAIR(0, 292)
  184.             }
  185.             *case: ENVFEED
  186.             {
  187.                 *PrintableArea: PAIR(3060, 4770)
  188.                 *PrintableOrigin: PAIR(0, 270)
  189.             }
  190.         }
  191.     }
  192.     *Option: EXECUTIVE
  193.     {
  194.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  195.         *CursorOrigin: PAIR(0, 270)
  196.         *Command: CmdSelect
  197.         {
  198.             *Order: DOC_SETUP.8
  199.             *Cmd: "<1B>2<1B>C?"
  200.         }
  201.         *switch: InputBin
  202.         {
  203.             *case: TRACTOR
  204.             {
  205.                 *PrintableArea: PAIR(2610, 3510)
  206.                 *PrintableOrigin: PAIR(0, 270)
  207.             }
  208.             *case: AUTO
  209.             {
  210.                 *PrintableArea: PAIR(2610, 3420)
  211.                 *PrintableOrigin: PAIR(0, 360)
  212.             }
  213.             *case: MANUAL
  214.             {
  215.                 *PrintableArea: PAIR(2610, 3398)
  216.                 *PrintableOrigin: PAIR(0, 292)
  217.             }
  218.             *case: ENVFEED
  219.             {
  220.                 *PrintableArea: PAIR(2610, 3510)
  221.                 *PrintableOrigin: PAIR(0, 270)
  222.             }
  223.         }
  224.     }
  225.     *Option: FANFOLD_STD_GERMAN
  226.     {
  227.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  228.         *CursorOrigin: PAIR(0, 270)
  229.         *Command: CmdSelect
  230.         {
  231.             *Order: DOC_SETUP.8
  232.             *Cmd: "<1B>C<000C>"
  233.         }
  234.         *switch: InputBin
  235.         {
  236.             *case: TRACTOR
  237.             {
  238.                 *PrintableArea: PAIR(3060, 4050)
  239.                 *PrintableOrigin: PAIR(0, 270)
  240.             }
  241.             *case: AUTO
  242.             {
  243.                 *PrintableArea: PAIR(3060, 3960)
  244.                 *PrintableOrigin: PAIR(0, 360)
  245.             }
  246.             *case: MANUAL
  247.             {
  248.                 *PrintableArea: PAIR(3060, 3938)
  249.                 *PrintableOrigin: PAIR(0, 292)
  250.             }
  251.             *case: ENVFEED
  252.             {
  253.                 *PrintableArea: PAIR(3060, 4050)
  254.                 *PrintableOrigin: PAIR(0, 270)
  255.             }
  256.         }
  257.     }
  258.     *Option: FANFOLD_US
  259.     {
  260.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  261.         *CursorOrigin: PAIR(0, 270)
  262.         *Command: CmdSelect
  263.         {
  264.             *Order: DOC_SETUP.8
  265.             *Cmd: "<1B>C<000B>"
  266.         }
  267.         *switch: InputBin
  268.         {
  269.             *case: TRACTOR
  270.             {
  271.                 *PrintableArea: PAIR(4896, 3690)
  272.                 *PrintableOrigin: PAIR(0, 270)
  273.             }
  274.             *case: AUTO
  275.             {
  276.                 *PrintableArea: PAIR(4896, 3600)
  277.                 *PrintableOrigin: PAIR(0, 360)
  278.             }
  279.             *case: MANUAL
  280.             {
  281.                 *PrintableArea: PAIR(4896, 3578)
  282.                 *PrintableOrigin: PAIR(0, 292)
  283.             }
  284.             *case: ENVFEED
  285.             {
  286.                 *PrintableArea: PAIR(4896, 3690)
  287.                 *PrintableOrigin: PAIR(0, 270)
  288.             }
  289.         }
  290.     }
  291.     *Option: A3
  292.     {
  293.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  294.         *CursorOrigin: PAIR(0, 270)
  295.         *Command: CmdSelect
  296.         {
  297.             *Order: DOC_SETUP.8
  298.             *Cmd: "<1B>A<081B>C|"
  299.         }
  300.         *switch: InputBin
  301.         {
  302.             *case: TRACTOR
  303.             {
  304.                 *PrintableArea: PAIR(4208, 5684)
  305.                 *PrintableOrigin: PAIR(0, 270)
  306.                 *switch: Resolution
  307.                 {
  308.                     *case: Option4
  309.                     {
  310.                         *PrintableArea: PAIR(4206, 5684)
  311.                     }
  312.                 }
  313.             }
  314.             *case: AUTO
  315.             {
  316.                 *PrintableArea: PAIR(4208, 5594)
  317.                 *PrintableOrigin: PAIR(0, 360)
  318.                 *switch: Resolution
  319.                 {
  320.                     *case: Option4
  321.                     {
  322.                         *PrintableArea: PAIR(4206, 5594)
  323.                     }
  324.                 }
  325.             }
  326.             *case: MANUAL
  327.             {
  328.                 *PrintableArea: PAIR(4208, 5572)
  329.                 *PrintableOrigin: PAIR(0, 292)
  330.                 *switch: Resolution
  331.                 {
  332.                     *case: Option4
  333.                     {
  334.                         *PrintableArea: PAIR(4206, 5572)
  335.                     }
  336.                 }
  337.             }
  338.             *case: ENVFEED
  339.             {
  340.                 *PrintableArea: PAIR(4208, 5684)
  341.                 *PrintableOrigin: PAIR(0, 270)
  342.                 *switch: Resolution
  343.                 {
  344.                     *case: Option4
  345.                     {
  346.                         *PrintableArea: PAIR(4206, 5684)
  347.                     }
  348.                 }
  349.             }
  350.         }
  351.     }
  352.     *Option: A4
  353.     {
  354.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  355.         *CursorOrigin: PAIR(0, 270)
  356.         *Command: CmdSelect
  357.         {
  358.             *Order: DOC_SETUP.8
  359.             *Cmd: "<1B>2<1B>CF"
  360.         }
  361.         *switch: InputBin
  362.         {
  363.             *case: TRACTOR
  364.             {
  365.                 *PrintableArea: PAIR(2977, 3938)
  366.                 *PrintableOrigin: PAIR(0, 270)
  367.                 *switch: Resolution
  368.                 {
  369.                     *case: Option1
  370.                     {
  371.                         *PrintableArea: PAIR(2976, 3938)
  372.                     }
  373.                     *case: Option4
  374.                     {
  375.                         *PrintableArea: PAIR(2976, 3938)
  376.                     }
  377.                 }
  378.             }
  379.             *case: AUTO
  380.             {
  381.                 *PrintableArea: PAIR(2977, 3848)
  382.                 *PrintableOrigin: PAIR(0, 360)
  383.                 *switch: Resolution
  384.                 {
  385.                     *case: Option1
  386.                     {
  387.                         *PrintableArea: PAIR(2976, 3848)
  388.                     }
  389.                     *case: Option4
  390.                     {
  391.                         *PrintableArea: PAIR(2976, 3848)
  392.                     }
  393.                 }
  394.             }
  395.             *case: MANUAL
  396.             {
  397.                 *PrintableArea: PAIR(2977, 3826)
  398.                 *PrintableOrigin: PAIR(0, 292)
  399.                 *switch: Resolution
  400.                 {
  401.                     *case: Option1
  402.                     {
  403.                         *PrintableArea: PAIR(2976, 3826)
  404.                     }
  405.                     *case: Option4
  406.                     {
  407.                         *PrintableArea: PAIR(2976, 3826)
  408.                     }
  409.                 }
  410.             }
  411.             *case: ENVFEED
  412.             {
  413.                 *PrintableArea: PAIR(2977, 3938)
  414.                 *PrintableOrigin: PAIR(0, 270)
  415.                 *switch: Resolution
  416.                 {
  417.                     *case: Option1
  418.                     {
  419.                         *PrintableArea: PAIR(2976, 3938)
  420.                     }
  421.                     *case: Option4
  422.                     {
  423.                         *PrintableArea: PAIR(2976, 3938)
  424.                     }
  425.                 }
  426.             }
  427.         }
  428.     }
  429.     *Option: A5
  430.     {
  431.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  432.         *CursorOrigin: PAIR(0, 270)
  433.         *Command: CmdSelect
  434.         {
  435.             *Order: DOC_SETUP.8
  436.             *Cmd: "<1B>A<041B>C|"
  437.         }
  438.         *switch: InputBin
  439.         {
  440.             *case: TRACTOR
  441.             {
  442.                 *PrintableArea: PAIR(2099, 2707)
  443.                 *PrintableOrigin: PAIR(0, 270)
  444.                 *switch: Resolution
  445.                 {
  446.                     *case: Option1
  447.                     {
  448.                         *PrintableArea: PAIR(2098, 2706)
  449.                     }
  450.                     *case: Option3
  451.                     {
  452.                         *PrintableArea: PAIR(2099, 2706)
  453.                     }
  454.                     *case: Option4
  455.                     {
  456.                         *PrintableArea: PAIR(2097, 2706)
  457.                     }
  458.                 }
  459.             }
  460.             *case: AUTO
  461.             {
  462.                 *PrintableArea: PAIR(2099, 2617)
  463.                 *PrintableOrigin: PAIR(0, 360)
  464.                 *switch: Resolution
  465.                 {
  466.                     *case: Option1
  467.                     {
  468.                         *PrintableArea: PAIR(2098, 2616)
  469.                     }
  470.                     *case: Option3
  471.                     {
  472.                         *PrintableArea: PAIR(2099, 2616)
  473.                     }
  474.                     *case: Option4
  475.                     {
  476.                         *PrintableArea: PAIR(2097, 2616)
  477.                     }
  478.                 }
  479.             }
  480.             *case: MANUAL
  481.             {
  482.                 *PrintableArea: PAIR(2099, 2595)
  483.                 *PrintableOrigin: PAIR(0, 292)
  484.                 *switch: Resolution
  485.                 {
  486.                     *case: Option1
  487.                     {
  488.                         *PrintableArea: PAIR(2098, 2594)
  489.                     }
  490.                     *case: Option3
  491.                     {
  492.                         *PrintableArea: PAIR(2099, 2594)
  493.                     }
  494.                     *case: Option4
  495.                     {
  496.                         *PrintableArea: PAIR(2097, 2594)
  497.                     }
  498.                 }
  499.             }
  500.             *case: ENVFEED
  501.             {
  502.                 *PrintableArea: PAIR(2099, 2707)
  503.                 *PrintableOrigin: PAIR(0, 270)
  504.                 *switch: Resolution
  505.                 {
  506.                     *case: Option1
  507.                     {
  508.                         *PrintableArea: PAIR(2098, 2706)
  509.                     }
  510.                     *case: Option3
  511.                     {
  512.                         *PrintableArea: PAIR(2099, 2706)
  513.                     }
  514.                     *case: Option4
  515.                     {
  516.                         *PrintableArea: PAIR(2097, 2706)
  517.                     }
  518.                 }
  519.             }
  520.         }
  521.     }
  522.     *Option: TABLOID
  523.     {
  524.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  525.         *CursorOrigin: PAIR(0, 270)
  526.         *Command: CmdSelect
  527.         {
  528.             *Order: DOC_SETUP.8
  529.             *Cmd: "<1B>C<0011>"
  530.         }
  531.         *switch: InputBin
  532.         {
  533.             *case: TRACTOR
  534.             {
  535.                 *PrintableArea: PAIR(3960, 5850)
  536.                 *PrintableOrigin: PAIR(0, 270)
  537.             }
  538.             *case: AUTO
  539.             {
  540.                 *PrintableArea: PAIR(3960, 5760)
  541.                 *PrintableOrigin: PAIR(0, 360)
  542.             }
  543.             *case: MANUAL
  544.             {
  545.                 *PrintableArea: PAIR(3960, 5738)
  546.                 *PrintableOrigin: PAIR(0, 292)
  547.             }
  548.             *case: ENVFEED
  549.             {
  550.                 *PrintableArea: PAIR(3960, 5850)
  551.                 *PrintableOrigin: PAIR(0, 270)
  552.             }
  553.         }
  554.     }
  555.     *Option: ENV_9
  556.     {
  557.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  558.         *RotateSize? : TRUE
  559.         *CursorOrigin: PAIR(0, 270)
  560.         *Command: CmdSelect
  561.         {
  562.             *Order: DOC_SETUP.8
  563.             *Cmd: "<1B>0<1B>C<1F>"
  564.         }
  565.         *switch: InputBin
  566.         {
  567.             *case: TRACTOR
  568.             {
  569.                 *PrintableArea: PAIR(3197, 947)
  570.                 *PrintableOrigin: PAIR(0, 270)
  571.                 *switch: Resolution
  572.                 {
  573.                     *case: Option1
  574.                     {
  575.                         *PrintableArea: PAIR(3196, 946)
  576.                     }
  577.                     *case: Option3
  578.                     {
  579.                         *PrintableArea: PAIR(3197, 946)
  580.                     }
  581.                     *case: Option4
  582.                     {
  583.                         *PrintableArea: PAIR(3195, 946)
  584.                     }
  585.                 }
  586.             }
  587.             *case: AUTO
  588.             {
  589.                 *PrintableArea: PAIR(3197, 857)
  590.                 *PrintableOrigin: PAIR(0, 360)
  591.                 *switch: Resolution
  592.                 {
  593.                     *case: Option1
  594.                     {
  595.                         *PrintableArea: PAIR(3196, 856)
  596.                     }
  597.                     *case: Option3
  598.                     {
  599.                         *PrintableArea: PAIR(3197, 856)
  600.                     }
  601.                     *case: Option4
  602.                     {
  603.                         *PrintableArea: PAIR(3195, 856)
  604.                     }
  605.                 }
  606.             }
  607.             *case: MANUAL
  608.             {
  609.                 *PrintableArea: PAIR(3197, 835)
  610.                 *PrintableOrigin: PAIR(0, 292)
  611.                 *switch: Resolution
  612.                 {
  613.                     *case: Option1
  614.                     {
  615.                         *PrintableArea: PAIR(3196, 834)
  616.                     }
  617.                     *case: Option3
  618.                     {
  619.                         *PrintableArea: PAIR(3197, 834)
  620.                     }
  621.                     *case: Option4
  622.                     {
  623.                         *PrintableArea: PAIR(3195, 834)
  624.                     }
  625.                 }
  626.             }
  627.             *case: ENVFEED
  628.             {
  629.                 *PrintableArea: PAIR(3197, 947)
  630.                 *PrintableOrigin: PAIR(0, 270)
  631.                 *switch: Resolution
  632.                 {
  633.                     *case: Option1
  634.                     {
  635.                         *PrintableArea: PAIR(3196, 946)
  636.                     }
  637.                     *case: Option3
  638.                     {
  639.                         *PrintableArea: PAIR(3197, 946)
  640.                     }
  641.                     *case: Option4
  642.                     {
  643.                         *PrintableArea: PAIR(3195, 946)
  644.                     }
  645.                 }
  646.             }
  647.         }
  648.     }
  649.     *Option: ENV_10
  650.     {
  651.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  652.         *RotateSize? : TRUE
  653.         *CursorOrigin: PAIR(0, 270)
  654.         *Command: CmdSelect
  655.         {
  656.             *Order: DOC_SETUP.8
  657.             *Cmd: "<1B>0<1B>C!"
  658.         }
  659.         *switch: InputBin
  660.         {
  661.             *case: TRACTOR
  662.             {
  663.                 *PrintableArea: PAIR(3420, 1217)
  664.                 *PrintableOrigin: PAIR(0, 270)
  665.                 *switch: Resolution
  666.                 {
  667.                     *case: Option1
  668.                     {
  669.                         *PrintableArea: PAIR(3420, 1216)
  670.                     }
  671.                     *case: Option3
  672.                     {
  673.                         *PrintableArea: PAIR(3420, 1216)
  674.                     }
  675.                     *case: Option4
  676.                     {
  677.                         *PrintableArea: PAIR(3420, 1216)
  678.                     }
  679.                 }
  680.             }
  681.             *case: AUTO
  682.             {
  683.                 *PrintableArea: PAIR(3420, 1127)
  684.                 *PrintableOrigin: PAIR(0, 360)
  685.                 *switch: Resolution
  686.                 {
  687.                     *case: Option1
  688.                     {
  689.                         *PrintableArea: PAIR(3420, 1126)
  690.                     }
  691.                     *case: Option3
  692.                     {
  693.                         *PrintableArea: PAIR(3420, 1126)
  694.                     }
  695.                     *case: Option4
  696.                     {
  697.                         *PrintableArea: PAIR(3420, 1126)
  698.                     }
  699.                 }
  700.             }
  701.             *case: MANUAL
  702.             {
  703.                 *PrintableArea: PAIR(3420, 1105)
  704.                 *PrintableOrigin: PAIR(0, 292)
  705.                 *switch: Resolution
  706.                 {
  707.                     *case: Option1
  708.                     {
  709.                         *PrintableArea: PAIR(3420, 1104)
  710.                     }
  711.                     *case: Option3
  712.                     {
  713.                         *PrintableArea: PAIR(3420, 1104)
  714.                     }
  715.                     *case: Option4
  716.                     {
  717.                         *PrintableArea: PAIR(3420, 1104)
  718.                     }
  719.                 }
  720.             }
  721.             *case: ENVFEED
  722.             {
  723.                 *PrintableArea: PAIR(3420, 1217)
  724.                 *PrintableOrigin: PAIR(0, 270)
  725.                 *switch: Resolution
  726.                 {
  727.                     *case: Option1
  728.                     {
  729.                         *PrintableArea: PAIR(3420, 1216)
  730.                     }
  731.                     *case: Option3
  732.                     {
  733.                         *PrintableArea: PAIR(3420, 1216)
  734.                     }
  735.                     *case: Option4
  736.                     {
  737.                         *PrintableArea: PAIR(3420, 1216)
  738.                     }
  739.                 }
  740.             }
  741.         }
  742.     }
  743.     *Option: ENV_11
  744.     {
  745.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  746.         *RotateSize? : TRUE
  747.         *CursorOrigin: PAIR(0, 270)
  748.         *Command: CmdSelect
  749.         {
  750.             *Order: DOC_SETUP.8
  751.             *Cmd: "<1B>0<1B>C$"
  752.         }
  753.         *switch: InputBin
  754.         {
  755.             *case: TRACTOR
  756.             {
  757.                 *PrintableArea: PAIR(3737, 1350)
  758.                 *PrintableOrigin: PAIR(0, 270)
  759.                 *switch: Resolution
  760.                 {
  761.                     *case: Option1
  762.                     {
  763.                         *PrintableArea: PAIR(3736, 1350)
  764.                     }
  765.                     *case: Option4
  766.                     {
  767.                         *PrintableArea: PAIR(3735, 1350)
  768.                     }
  769.                 }
  770.             }
  771.             *case: AUTO
  772.             {
  773.                 *PrintableArea: PAIR(3737, 1260)
  774.                 *PrintableOrigin: PAIR(0, 360)
  775.                 *switch: Resolution
  776.                 {
  777.                     *case: Option1
  778.                     {
  779.                         *PrintableArea: PAIR(3736, 1260)
  780.                     }
  781.                     *case: Option4
  782.                     {
  783.                         *PrintableArea: PAIR(3735, 1260)
  784.                     }
  785.                 }
  786.             }
  787.             *case: MANUAL
  788.             {
  789.                 *PrintableArea: PAIR(3737, 1238)
  790.                 *PrintableOrigin: PAIR(0, 292)
  791.                 *switch: Resolution
  792.                 {
  793.                     *case: Option1
  794.                     {
  795.                         *PrintableArea: PAIR(3736, 1238)
  796.                     }
  797.                     *case: Option4
  798.                     {
  799.                         *PrintableArea: PAIR(3735, 1238)
  800.                     }
  801.                 }
  802.             }
  803.             *case: ENVFEED
  804.             {
  805.                 *PrintableArea: PAIR(3737, 1350)
  806.                 *PrintableOrigin: PAIR(0, 270)
  807.                 *switch: Resolution
  808.                 {
  809.                     *case: Option1
  810.                     {
  811.                         *PrintableArea: PAIR(3736, 1350)
  812.                     }
  813.                     *case: Option4
  814.                     {
  815.                         *PrintableArea: PAIR(3735, 1350)
  816.                     }
  817.                 }
  818.             }
  819.         }
  820.     }
  821.     *Option: CUSTOMSIZE
  822.     {
  823.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  824.         *MinSize: PAIR(360, 360)
  825.         *MaxSize: PAIR(4896, 7920)
  826.         *MaxPrintableWidth: 4896
  827.         *MinLeftMargin: 0
  828.         *CenterPrintable?: FALSE
  829.         *switch: InputBin
  830.         {
  831.             *case: TRACTOR
  832.             {
  833.                 *TopMargin: 270
  834.                 *BottomMargin: 0
  835.             }
  836.             *case: AUTO
  837.             {
  838.                 *TopMargin: 360
  839.                 *BottomMargin: 0
  840.             }
  841.             *case: MANUAL
  842.             {
  843.                 *TopMargin: 292
  844.                 *BottomMargin: 90
  845.             }
  846.             *case: ENVFEED
  847.             {
  848.                 *TopMargin: 0
  849.                 *BottomMargin: 0
  850.             }
  851.         }
  852.     }
  853. }
  854. *Feature: PrintQuality
  855. {
  856.     *rcNameID: =TEXT_QUALITY_DISPLAY
  857.     *DefaultOption: LETTER_QUALITY
  858.     *Option: LETTER_QUALITY
  859.     {
  860.         *rcNameID: =LETTER_QUALITY_DISPLAY
  861.         *Command: CmdSelect
  862.         {
  863.             *Order: DOC_SETUP.6
  864.             *Cmd: "<1B>x<01>"
  865.         }
  866.     }
  867.     *Option: DRAFT_QUALITY
  868.     {
  869.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  870.         *Command: CmdSelect
  871.         {
  872.             *Order: DOC_SETUP.6
  873.             *Cmd: "<1B>x<00>"
  874.         }
  875.     }
  876. }
  877. *Feature: ColorMode
  878. {
  879.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  880.     *DefaultOption: Color
  881.     *Option: Mono
  882.     {
  883.         *rcNameID: =MONO_DISPLAY
  884.         *DevNumOfPlanes: 1
  885.         *DevBPP: 1
  886.         *Color? : FALSE
  887.     }
  888.     *Option: Color
  889.     {
  890.         *rcNameID: =COLOR_DISPLAY
  891.         *DevNumOfPlanes: 4
  892.         *DevBPP: 1
  893.         *DrvBPP: 4
  894.         EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  895.         *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  896.         *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  897.         *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  898.         *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  899.         *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  900.         *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  901.         *Command: CmdSelectRedColor { *Cmd : "<1B>r<01>" }
  902.         *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  903.         *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  904.         *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  905.         *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  906.         *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  907.     }
  908. }
  909. *Feature: Halftone
  910. {
  911.     *rcNameID: =HALFTONING_DISPLAY
  912.     *DefaultOption: HT_PATSIZE_AUTO
  913.     *Option: HT_PATSIZE_AUTO
  914.     {
  915.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  916.     }
  917. *Ifdef: WINNT_50
  918.     *Option: HT_PATSIZE_SUPERCELL_M
  919.     {
  920.         *rcNameID: =HT_SUPERCELL_DISPLAY
  921.     }
  922. *Endif:
  923.     *Option: HT_PATSIZE_6x6_M
  924.     {
  925.         *rcNameID: =HT_DITHER6X6_DISPLAY
  926.     }
  927.     *Option: HT_PATSIZE_8x8_M
  928.     {
  929.         *rcNameID: =HT_DITHER8X8_DISPLAY
  930.     }
  931. }
  932. *Command: CmdStartDoc
  933. {
  934.     *Order: DOC_SETUP.1
  935.     *Cmd: "<1B>t<011B>6<1B>R<0018>"
  936. }
  937. *Command: CmdEndJob
  938. {
  939.     *Order: JOB_FINISH.1
  940.     *Cmd: "<190D1B>@"
  941. }
  942. *RotateCoordinate?: FALSE
  943. *RotateRaster?: FALSE
  944. *RotateFont?: FALSE
  945. *switch: Orientation
  946. {
  947.     *case: PORTRAIT
  948.     {
  949.         *TextCaps: LIST(TC_OP_CHARACTER,TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  950.     }
  951.     *case: LANDSCAPE_CC270
  952.     {
  953.         *TextCaps: LIST(TC_RA_ABLE)
  954.     }
  955. }
  956. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  957. *XMoveThreshold: 0
  958. *YMoveThreshold: *
  959. *XMoveUnit: 60
  960. *YMoveUnit: 180
  961. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  962. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  963. *Command: CmdYMoveRelUp { *Cmd : "<1B>j" %c[0,255]{max_repeat((DestYRel / 2) )} }
  964. *Command: CmdCR { *Cmd : "<0D>" }
  965. *Command: CmdLF { *Cmd : "<0A>" }
  966. *Command: CmdFF { *Cmd : "<0C>" }
  967. *Command: CmdBackSpace { *Cmd : "<08>" }
  968. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  969. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  970. *EjectPageWithFF?: TRUE
  971. *OutputDataFormat: V_BYTE
  972. *OptimizeLeftBound?: FALSE
  973. *CursorXAfterSendBlockData: AT_GRXDATA_END
  974. *CursorYAfterSendBlockData: NO_MOVE
  975. *DefaultFont: 6
  976. *DefaultCTT: 1
  977. *switch: Orientation
  978. {
  979.     *case: PORTRAIT
  980.     {
  981.         *DeviceFonts: LIST(2,3,4,5,6,7,8,9,10,11,12,28,29,30,31,32,
  982. +                   33,34,35,36,37,40,41,42,43,44,45,46,47,48,49,50,
  983. +                   53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,
  984. +                   69,71,72,73)
  985.     }
  986.     *case: LANDSCAPE_CC270
  987.     {
  988.         *DeviceFonts: LIST()
  989.     }
  990. }
  991. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  992. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  993. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  994. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  995. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  996. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  997.